﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="multiview.aspx.cs" Inherits="WebAppAsp_MiprimerPrograma.multiview" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="css/StyleSheet.css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div class="menu">
    
        <br />
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
            <asp:ListItem>Elegir Vista</asp:ListItem>
            <asp:ListItem>vista1</asp:ListItem>
            <asp:ListItem>vista2</asp:ListItem>
            <asp:ListItem>vista3</asp:ListItem>
        </asp:DropDownList>
        <asp:DropDownList ID="DropDownList2" runat="server">
            <asp:ListItem>Otros menú</asp:ListItem>
        </asp:DropDownList>
        <asp:DropDownList ID="DropDownList3" runat="server">
            <asp:ListItem>Más controles</asp:ListItem>
        </asp:DropDownList>
    
    </div>
    <div class="multiview">

        <asp:MultiView ID="MultiView1" runat="server">
            <asp:View ID="View1" runat="server">
                <asp:Label ID="Label1" runat="server" Text="vista 0"></asp:Label>
            </asp:View>
            <asp:View ID="View2" runat="server">
                <asp:Label ID="Label2" runat="server" Text="vota 1"></asp:Label>
            </asp:View>
            <asp:View ID="View3" runat="server">
                <asp:Label ID="Label3" runat="server" Text="vista 2"></asp:Label>
            </asp:View>
            <br />
            <br />
        </asp:MultiView>

    </div>
    </form>
</body>
</html>
